-- GENERATED SPELL FOR [Reanimated Miner] --


function spell0_31843(pUnit, Event) --@Puncture Wound,n/a--
pUnit:FullCastSpellOnTarget(48374,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31843', 5000, 1)
end

function Sorts_31843(pUnit, Event)
local choix_sorts_31843 = math.random(0, 0)
if choix_sorts_31843 == 0 then
pUnit:RegisterEvent('spell0_31843', 1, 1)
end
end

function mob31843_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31843', math.random(1500, 3000), 1)
end

function mob31843_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31843_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31843_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31843, 1, 'mob31843_Action')
RegisterUnitEvent(31843, 2, 'mob31843_Leave')
RegisterUnitEvent(31843, 3, 'mob31843_Kill')
RegisterUnitEvent(31843, 4, 'mob31843_Die')
